<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GoodsBanner extends Model
{
    protected  $table='goods_banner';

    protected $fillable = [
        'title', 'org_id', 'photo', 'jump_mode', 'status', 'sort', 'start', 'end', 'href'
    ];

    public function org()
    {
        return $this->hasOne('App\Models\Org', 'id', 'org_id');
    }
}
